# Contributor: Andrew Hills <ahills@ednos.net>
# Contributor: Stefan Wagner <stw@bit-strickerei.de>
# Maintainer: Stefan Wagner <stw@bit-strickerei.de>
pkgname=xbindkeys
pkgver=1.8.7
pkgrel=0
pkgdesc="Program for launching shell commands via keyboard shortcuts in X"
url="http://www.nongnu.org/xbindkeys/xbindkeys.html"
arch="all"
license="GPL-2.0"
makedepends="libx11-dev"
subpackages="$pkgname-doc"
source="http://www.nongnu.org/$pkgname/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	./configure --prefix=/usr \
		--disable-guile \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info || return 1
	make || return 1
}

package() {
	cd "$builddir"
	make -j1 DESTDIR="$pkgdir" install
}

sha512sums="a6b1478e8ef4bedc686fdd15abc11a8a592ac17c69e1a5a13f60e735e9be9646faed62e980cdac4aa7bc7e3253237465de38dee98935dd3f9911d4e48209b2e9  xbindkeys-1.8.7.tar.gz"
